package iit.projects.etaxi.model.service;

import java.util.List;

import iit.projects.etaxi.model.dto.CitySCDO;
import iit.projects.etaxi.model.entity.City;
import iit.projects.etaxi.model.exception.CityNotFoundException;
import iit.projects.etaxi.model.exception.DuplicateCityException;

public interface CityService {
	
	
	public City saveCity(City city) throws DuplicateCityException;
	
	public List<City> findCities(CitySCDO citySCDO);
	
	public City updateCity(City city);
	
	public void deleteCity(City city);
	
	public City findByPrimaryKey(String code) throws CityNotFoundException;

}
